import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
import Goods from '@/pages/goods/Goods'
import Ratings from '@/pages/ratings/Ratings'
import Seller from '@/pages/seller/Seller'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path:'/goods',
      name:'Goods',
      component:Goods
    },
    {
      path:'/ratings',
      name:'Ratings',
      component:Ratings
    },
    {
      path:'/seller',
      name:'Seller',
      component:Seller
    }
  ]
})
